<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>试卷详细内容</title>
<style type="text/css">
html,body {
	font-size: 13px;
	font-family: serif sans-serif "宋体";
	margin: 0;
	padding: 0px;
	line-height: 180%;
	margin: 0;
}

.page #header {
	text-align: center;
	margin: 0 auto;
	margin-top:5px;
	height: 50px;
	line-height: 180%;
}

@media 　print {
	　　.toolbar {
		display: none;
	}
}
.page {
	height: 100%;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.toolbar {
	border: 1px　solid　 #6A9BFA;
	background: #E8F7E8;
	text-align: center;
}

.content div {
	margin-left: 15px;
	padding: 0px;
}
</style>
</head>

<body>
	<object classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"
		id="WebBrowser" height="1" width="0"></object>
	<div class="page">
		<div class="toolbar">
			<input type="button" value="页面设置"
				onclick="document.all.WebBrowser.ExecWB(8,1)"> <input
				type="button" value="打印预览"
				onclick="document.all.WebBrowser.ExecWB(7,1)"> <input
				type="button" value="打印"
				onclick="document.all.WebBrowser.ExecWB(6,1)"> <input
				type="button" value="直接打印"
				onclick="document.all.WebBrowser.ExecWB(6,6)">
		</div>

		<div id="header">
			<h3>${obj.main.exName}</h3>
			<div>
				<table style="width: 70%;">
					<tr>
						<td><b>姓名：</b></td>
						<td><span></span></td>
						<td><b>部门：</b></td>
						<td><span></span></td>
						<td><b>岗位：</b></td>
						<td><span></span></td>
						<td><b>得分</b></td>
						<td><span></span></td>
					</tr>
				</table>
			</div>
		</div>
		<div class="content">
			<c:if test="${!empty(obj.judgeInfo)}">
				<h4>一、判断题</h4>
				<div id="jude">
					<c:forEach items="${obj.judgeInfo}" var="jude" step="1"
						varStatus="j">
						<table width="80%">
							<tr>
								<td width="70%"><strong>${j.index+1}、</strong><span>${jude.pContent}</span></td>
								<td width="10%">(&nbsp; &nbsp; &nbsp;)</td>
							</tr>
						</table>
					</c:forEach>
				</div>
			</c:if>
			<c:if test="${!empty (obj.singles)}">
				<h4>二、选择题</h4>
				<div id="options">
					<table>
						<c:forEach items="${obj.singles}" var="op" step="1" varStatus="o">
							<tr>
								<td><strong>${o.index+1} 、</strong>${op.pContent}(&nbsp; &nbsp; &nbsp;)</td>
							</tr>
							<tr>
								<td>A:${op.aOption}</td>
							</tr>
							<tr>
								<td>B:${op.bOption}</td>
							</tr>
							<tr>
								<td>C:${op.cOption}</td>
							<tr>
								<td>D:${op.dOption}</td>
							</tr>
						</c:forEach>
					</table>
				</div>
			</c:if>
			<c:if test="${!empty(obj.jdtInfo)}">
				<h4>三、解答题</h4>
				<div id="options">
					<c:forEach items="${obj.jdtInfo}" var="jdt" step="1" varStatus="j">
						<p>
							<strong>${j.index+1}、</strong><span>${jdt.pContent}</span>
						</p>
						<br />
						<br />
						<br />
						<br />
					</c:forEach>
				</div>
			</c:if>
		</div>
		<!-- footer -->
		<div id="footer"></div>
	</div>
</body>
</html>